<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>${channel.title!channel.name} - ${site.name}</title>
    <link href="/${res}/css/prettyPhoto.css" rel="stylesheet">
    <link href="/${res}/style.css" rel="stylesheet">
    <link href="/${res}/css/color.css" rel="stylesheet">
    <link href="/${res}/css/responsive.css" rel="stylesheet">
    <script src="${resSys}/jquery.js" type="text/javascript"></script>
    <script src="${resSys}/front.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function() {
            Cms.channelViewCount("${base}","${channel.id}");
            Cms.siteFlow("${base}", location.href, document.referrer,"${site.config.flowSwitch?string}");
        });
    </script>

</head>

<body>

<div class="gt_wrapper">
    [#include "../include/nav.html"/]

    <div class="gt_sub_banner_bg default_width">
        <div class="container">
            <div class="gt_sub_banner_hdg  default_width">
                <h2>${channel.name!}</h2>
            </div>
        </div>
    </div>
    [#include "../include/location.html"/]

    <div class="gt_content_wrap">
        <section class="gt_courses_bg">
            <div class="container">
                <div class="row">
                    <div class="col-md-8">
                        <div class="doc_js">
                            <form action="${base}/searchCustom.jspx" method="get">
                                [@cms_model id="9"]
                                [#list tag_bean.items as item]
                                [#if item.field=="hy"]
                                [#assign hyAll=item.optValue/]
                                [#elseif item.field=="em"]
                                [#assign emAll=item.optValue/]
                                [/#if]
                                [/#list]
                                <div class="doc_js_list clearfix">
                                    <span>文档类型：</span><label><input name="hy" value="" type="radio" checked="checked"/>不限</label>
                                    [#list hyAll!?split(",") as opt]
                                    <label><input name="hy" value="${opt}" type="radio" [#if hy??][#if hy==opt]checked="checked"[/#if][/#if]/>${opt!}</label>
                                    [/#list]
                                </div>
                                <div class="doc_js_list clearfix"><span>所属行业：</span><label><input name="em" value="" type="radio" checked="checked"/>不限</label>
                                    [#list emAll!?split(",") as opt]
                                    <label><input name="em" value="${opt}" type="radio" [#if em??][#if em==opt]checked="checked"[/#if][/#if]/>${opt!}</label>
                                    [/#list]
                                </div>
                                [/@cms_model]
                                <input type="hidden" name="tpl" value="doc"/><input type="submit" value="查询" class="doc_js_btn">
                            </form>
                        </div>
                        [@cms_content_page count='10' orderBy='4' titLen='110' channelId=channel.id
                        channelOption='1' dateFormat='yyyy-MM-dd' open='1']
                        [#list tag_pagination.list as a]
                        <div class="gt_event_grid gt_event_list default_width mb30">
                            <figure>
                                <img src="" alt="">
                                <figcaption class="gt_event_grid_date">
                                    15<span>Nov</span>
                                </figcaption>
                            </figure>
                            <div class="gt_event_grid_des default_width">
                                <h6><a href="${a.url}">${a.title}
                                    [#if a.fileSuffix??]
                                    [#if a.fileSuffix="doc"||a.fileSuffix="docx"||a.fileSuffix="wps"]<img
                                            src="/${res}/images/word.gif">[/#if]
                                    [#if a.fileSuffix="ppt"||a.fileSuffix="pptx"]<img
                                            src="/${res}/images/PPT.gif">[/#if]
                                    [#if a.fileSuffix="pdf"]<img src="/${res}/images/PDF.gif">[/#if]
                                    [/#if]
                                </a></h6>
                                <ul class="gt_event_meta">
                                    <li><i class="fa fa-map-marker"></i>${a.author!'本站编辑'}</li>
                                    <li><i class="fa fa-map-marker"></i>${(a.date?string('yyyy-MM-dd'))!} </li>
                                </ul>
                                <p>[@text_cut s=a.description! len=titLen append='...'/]</p>
                            </div>
                            <div class="gt_event_counter">
                                <ul class="countdown">
                                    <li>
                                        <span class="days">${a.downNeed!}</span>
                                        <p class="days_ref">财富</p>
                                    </li>
                                    <li>
                                        <span class="hours">${a.avgScore!}</span>
                                        <p class="hours_ref">评分</p>
                                    </li>
                                    <li>
                                        <span class="minutes">${a.contentCount.views!}</span>
                                        <p class="minutes_ref">阅读</p>
                                    </li>
                                    <li>
                                        <span class="seconds last" id="downloads"></span>
                                        <p class="seconds_ref">下载</p>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        [/#list]
                        [/@cms_content_page]

                    </div>
                    <div class="col-md-4">
                        <div class="gt_resp_margn default_width">
                            [#include "../include/doc_left.html"/]
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
    [#include "../include/footer.html"/]


</div>

<!--Bootstrap core JavaScript-->
<script src="/${res}/js/bootstrap.min.js"></script>
<!--Pretty Photo JavaScript-->
<script src="/${res}/js/jquery.prettyPhoto.js"></script>
<!--Custom JavaScript-->
<script src="/${res}/js/custom.js"></script>

</body>
</html>
